package cn.swu.ghx.swu.library.data.teacher

import androidx.databinding.BaseObservable
import androidx.databinding.Bindable
import cn.swu.ghx.swu.library.BR

class TeacherIpt : BaseObservable() {
    @get:Bindable
    var name: String = ""
        set(value) {
            field = value
            notifyPropertyChanged(BR.name)
        }

    @get:Bindable
    var birth: String = ""
        set(value) {
            field = value
            notifyPropertyChanged(BR.birth)
        }

    @get:Bindable
    var remark: String = ""
        set(value) {
            field = value
            notifyPropertyChanged(BR.remark)
        }
    @get:Bindable
    var phone: String = ""
        set(value) {
            field = value
            notifyPropertyChanged(BR.phone)
        }
}